import { perHomeRoute, editArticleRoute } from "../permission-pages/router"

const routes = [
  perHomeRoute,
  editArticleRoute
]

export default function regiserRoute(router) {
  for (const route of routes) {
    router.addRoute(route)
  }
}